<template>
	<view class="content">
		<image class="response" lazy-load="true" :src="item" v-for="(item, index) in list" :key="index" mode="widthFix"></image>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				type:0,
				txt:'',
				list:[]
			}
		},onLoad(options) {
			this.type = options.type;
			this.txt = options.txt;
		},onShow() {
			let opts = {
				url: 'sysSetting/getAboutProblem/'+this.type,
				method: 'get'
			};
			let param = {};
			this.tokenRequest(opts, param).then(res => {
				uni.hideLoading();
				let rData = res.data;
				this.list = rData
			}, error => {})
		},onReady() {
			uni.setNavigationBarTitle({
			    title: this.txt,
			});
			uni.setNavigationBarColor({
			    frontColor: '#ffffff',
			    backgroundColor: '#787067',
			    animation: {
			        duration: 400,
			        timingFunc: 'easeIn'
			    }
			})
		}
	}
</script>

<style>
	.content{
		padding-bottom: 0rpx !important;
	}
	image{
		display: block;
	}
</style>
